home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
doc
/
examples
/
double.tcl
< prev
next >
Wrap
Text File
|
1995-06-29
|
334b
|
9 lines
# Double the application window width and height.
# First, retrieve position and size resources :
. getValues -x x -y y -width width -height height
set width2 [expr width*2]
set height2 [expr height*2]
# Then, set back the new values :
. setValues -width $width2 -height $height2
. setValues -x [expr $x-$width] -y [expr $y-$height]